cmake_minimum_required(VERSION 3.16)

include(${COMMON_CMAKE_INCLUDE_PATH}/common.cmake)

set(PROGNAME demo_pthread_exitcode)

project(c_${PROGNAME} C)

add_executable(${PROGNAME} pthread_exitcode.c)
target_link_libraries(${PROGNAME} pthread)

install(TARGETS ${PROGNAME} DESTINATION bin)

set(PROGNAME demo_pthread_kill)

project(c_${PROGNAME} C)

add_executable(${PROGNAME} pthread_kill.c)
target_link_libraries(${PROGNAME} pthread)

install(TARGETS ${PROGNAME} DESTINATION bin)

